package deformation;

import grid.Grid;


/**
 * any deformation should implement this interface
 * @author Stephan
 */
public interface Deformation{
	
	/**
	 * @param grid
	 * @return MorphingGrid @see {@link MorphingGrid}
	 */
	public MorphingGrid generateMorphingGrid(Grid grid);
	
	/**
	 * @return the handler related to the deformation
	 */
	public handler.Handler getHandler();
	
	
	/**
	 * @param grid the src grid
	 * @return deformed grid
	 */
	public Grid calculate(Grid grid);
	
}
